<?php

echo '<div class="form-wrapper">';
echo '<fieldset style="margin: 0 auto;width:60%;height: auto;border: 1px #ccc solid; padding:20px 15px 20px 15px;-moz-border-radius:10px;">';
echo '<legend align="center" style="margin: 0px auto;"><div class="heading" style="margin: 0px auto;width: 100%;height: auto;border: 0px #ccc solid;text-align: center;font-size: 20px;color:#006600;">Class Detail</div></legend>';
echo '<div style="float: right; border: 0px #ccc solid;">';
echo anchor('class_manager/manager', img('images/user_images/cancel.png'));
echo '</div>';
echo '<table class="mytable" border="0" cellpadding="15" align="center" cellspacing="0" width="100%" style="font-size:12px; text-align: left; ">';
foreach ($detailget->result() as $rows) {
    echo '<tr>';
    echo '<td valign="top">Class ID</td>';
    echo '<td width="5" valign="top">:</td>';
    echo'<td style="color:#006600; font-weight:lighter;">';
    echo $rows->cla_id;
    echo'</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<td valign="top" width="20%">Class Name</td>';
    echo'<td valign="top">:</td>';
    echo'<td style="color:#006600; font-weight:lighter;" width="75%">';
    echo $rows->cla_name;
    echo'</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<td valign="top">Class Description</td>';
    echo'<td valign="top">:</td>';
    echo'<td style="color:#006600; font-weight:lighter;">';
    echo $rows->cla_description;
    echo'</td>';
    echo '</tr>';
}
echo '</table>';
echo '</lengend>';
echo '</fieldset>';
echo '</div>';
